<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
     <head>
     <link href="{{MEDIA_URL}}/img/favicon.ico" rel="icon" type="image/x-icon"> 
     <link href="{{MEDIA_URL}}mdm/css/smoothness/jquery-ui-1.8.5.custom.css" rel="stylesheet" type="text/css" media="screen"/>      
     <link href="{{MEDIA_URL}}mdm/css/mdm.css" rel="stylesheet" type="text/css" media="screen"/>      
     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
     <script type="text/javascript" src="{{ MEDIA_URL }}mdm/js/jquery-ui-1.8.5.custom.min.js"></script>
     <title>Avanza Promociones</title>    
     </head>
<body>
     <div id="frm" title="Sesi&oacute;n terminada">
     Pulse en  el bot&oacute;n &quot;Aceptar&quot; si quiere iniciar sesi&oacute;n de nuevo
     </div>

     <script>
          // El diálogo 
          $("#frm").dialog({
               bgiframe: true,
               autoOpen: true,
               maxHeight: 650,
               width: 400,
               position: ['center', 100],
               modal: true,
               resizable: false,
               draggable: false,
               closeOnEscape: false,
               open: function(event, ui) { $(".ui-dialog-titlebar-close").hide() },
               buttons: {
                    'Aceptar': function() {
                         window.location = '{% url django.contrib.auth.views.login %}?next={% url inicio %}'
                    },
               }
          })
     </script>
     </body> 
</html>
